/**
 * @Auther: ZZX
 * @Date: 2024/7/22-07-22-21:48
 * @Description: PACKAGE_NAME
 */
public class Demo5变量之间的运算 {
    public static void main(String[] args) {
        int num1 = 10;
        int num2 = 3;
        int sum = num1 + num2;
        System.out.println(sum);

        int sub = num1 - num2;
        System.out.println(sub);
        System.out.println(num1*num2);
        float div = num1/num2;
        System.out.println(div);
        System.out.println((double)num1 / num2);
    }
}
